import { ITemplateJSON } from "@/components/FormParse/FormParse";
import { reactive } from "vue";

export const SXKJ_TEMLATE: ITemplateJSON[] = reactive([
  { label: '作业内容', modelValue: 'sxkj_checkbox1', type: 'checkbox', options: {
    required: true,
    children: [
      { name: '施工方案及风险分析报告', checked: false, value: '施工方案及风险分析报告' },
      { name: '技术交底', checked: false, value: '技术交底' },
      { name: 'JSA/TRA', checked: false, value: 'JSA/TRA' },
    ]
  } },
  { label: '编号', modelValue: 'sxkj_input_text1', type: 'input', options: { type: 'text', placeholder: '请输入...', required: true } },
  { label: '工作内容', modelValue: 'sxkj_textarea1', type: 'textarea', options: {
    placeholder: '请输入...',
    defaultValue: 'aaaa',
    required: true
  } },
  { label: '日期', modelValue: 'sxkj_datetime3', type: 'datetime', options: { placeholder: '请输入...', required: true } },
  { label: '潜在危险及安全注意事项', modelValue: 'sxkj_textarea2', type: 'textarea', options: {
    placeholder: '请输入...',
    required: true
  } },
  { label: '作业内容', modelValue: 'sxkj_checkbox1', type: 'checkbox', options: {
    required: true,
    children: [
      { name: '戴护耳罩', checked: false, value: '戴护耳罩' },
      { name: '戴手套', checked: false, value: '戴手套' },
      { name: '戴空气呼吸器（说明）', checked: false, value: '戴空气呼吸器（说明）' },
      { name: '气体面具', checked: false, value: '气体面具' },
      { name: '检查风向', checked: false, value: '检查风向' },
      { name: '准备消防水、灭火机', checked: false, value: '准备消防水、灭火机' },
      { name: '检查作业工具完好情况', checked: false, value: '检查作业工具完好情况' },
      { name: '检查并堵上地漏、暗沟', checked: false, value: '检查并堵上地漏、暗沟' },
      { name: '充足通风', checked: false, value: '充足通风' },
      { name: '清除受限空间内的易燃、易爆介质', checked: false, value: '清除受限空间内的易燃、易爆介质' },
      { name: '戴护目镜', checked: false, value: '戴护目镜' },
      { name: '戴护目镜', checked: false, value: '戴护目镜' },
      { name: '戴护目镜', checked: false, value: '戴护目镜' },
      { name: '戴护目镜', checked: false, value: '戴护目镜' },
      { name: '戴护目镜', checked: false, value: '戴护目镜' },
    ]
  } },
])